package day06_exception_collection.com.itheima.d5_list;

import java.util.ArrayList;

public class ListDemo3 {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>();
        list.add("java");
        list.add("宁夏枸杞");
        list.add("黑枸杞");

        list.remove(2);
    }
}
